$(function(){
    $('.list-item').on('click',function () {
        $(this).children('ul').toggle();
    });
    $('.item').on('mouseover',function () {
        $(this).find('.icon-pencil').css('display','block');
        $(this).find('.icon-remove').css('display','block');
    }).on('mouseout',function () {
        $(this).find('.icon-pencil').css('display','none');
        $(this).find('.icon-remove').css('display','none');
    });
    $('.icon .visitors-right').on('click',function () {
        $('.visitors-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .visitors-wrong').on('click',function () {
        $('.visitors').stop(true).slideToggle(200);
    });
    $('.icon .order-right').on('click',function () {
        $('.order-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .order-wrong').on('click',function () {
        $('.order').stop(true).slideToggle(200);
    });
    $('.icon .comments-right').on('click',function () {
        $('.comments-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .comments-wrong').on('click',function () {
        $('.comments').stop(true).slideToggle(200);
    });
    $('.icon .classic-box-right').on('click',function () {
        $('.classic-box-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .classic-box-wrong').on('click',function () {
        $('.classic-box').stop(true).slideToggle(200);
    });
    $('.icon .bordered-right').on('click',function () {
        $('.bordered-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .bordered-wrong').on('click',function () {
        $('.classic-bordered').stop(true).slideToggle(200);
    });
    $('.icon .collapsed-right').on('click',function () {
        $('.collapsed-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .collapsed-wrong').on('click',function () {
        $('.collapsed').stop(true).slideToggle(200);
    });
    $('.icon .scrollable-right').on('click',function () {
        $('.scrollable-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .scrollable-wrong').on('click',function () {
        $('.scrollable').stop(true).slideToggle(200);
    });
    $('.icon .padding-right').on('click',function () {
        $('.padding-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .padding-wrong').on('click',function () {
        $('.padding').stop(true).slideToggle(200);
    });
    $('.icon .transparent-right').on('click',function () {
        $('.transparent-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .transparent-wrong').on('click',function () {
        $('.transparent').stop(true).slideToggle(200);
    });
    $('.icon .double-right').on('click',function () {
        $('.double-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .double-wrong').on('click',function () {
        $('.double').stop(true).slideToggle(200);
    });
    $('.icon .small-right').on('click',function () {
        $('.small-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .small-wrong').on('click',function () {
        $('.small').stop(true).slideToggle(200);
    });
    $('.icon .small-bordered-right').on('click',function () {
        $('.small-bordered-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .small-bordered-wrong').on('click',function () {
        $('.small-bordered').stop(true).slideToggle(200);
    });
    $('.icon .small-scrollable-right').on('click',function () {
        $('.small-scrollable-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .small-scrollable-wrong').on('click',function () {
        $('.small-scrollable').stop(true).slideToggle(200);
    });

    $('.icon .with-toolbox-right').on('click',function () {
        $('.with-toolbox-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .with-toolbox-wrong').on('click',function () {
        $('.with-toolbox').stop(true).slideToggle(200);
    });
    $('.icon .button-toolbox-right').on('click',function () {
        $('.button-toolbox-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .button-toolbox-wrong').on('click',function () {
        $('.button-toolbox').stop(true).slideToggle(200);
    });
    $('.icon .top-button-toolbox-right').on('click',function () {
        $('.top-button-toolbox-content').stop(true).slideToggle(200);
        $(this).toggleClass('glyphicon-chevron-down');
    });
    $('.icon .top-button-toolbox-wrong').on('click',function () {
        $('.top-button-toolbox').stop(true).slideToggle(200);
    });
});